_zimfw_uninstall() {
  if (( _zprintlevel <= 0 )); then
    command rm -rf ${_zunused_dirs} || return 1
  else
    local zunused_dir
    print $'Found <%= bold %>'${#_zunused_dirs}$'<%= normal %> unused module(s).'
    for zunused_dir in ${_zunused_dirs}; do
      if read -q "?Uninstall ${zunused_dir} [y/N]? "; then
        print
        command rm -rfv ${zunused_dir} || return 1
      else
        print
      fi
    done
    print 'Done with uninstall.'
  fi
}
